package tickets.passageRegister;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */



import myutil.mylist.MyList;
import tickets.tickets.Passage;
import tickets.tickets.TicketType;

/**
 *
 * @author gleb23
 */
public interface PassageRegister {
    
    public void addPassage(Passage passage);
    
    public void setPassages(MyList<Passage> passages);
    
    public MyList<Passage> getPassages();
    
    public MyList<Passage> getPassages(TicketType ticketType);
}
